package com.itheima01;

/**
 * @author Xiao
 * @date 2021/7/11
 */
public class SystemDemo {
    /**
     *      API_System
     */
    public static void main(String[] args) {
        long l = System.currentTimeMillis();
        System.out.println("HelloWorld！");
        long l2 = System.currentTimeMillis();
        System.out.println(l2 - l);
//        System.exit(0);
        System.out.println("世界，你好！");
        int[] arr1 = {1, 2, 3, 4, 5};
        int[] arr2 = new int[10];
        System.arraycopy(arr1,0,arr2,0,arr1.length);
        for (int i : arr1) {
            System.out.print(i + "\t");//1	2	3	4	5
        }
        System.out.println();
        for (int i : arr2) {
            System.out.print(i + "\t");//1	2	3	4	5	0	0	0	0	0
        }
        System.out.println();

    }
}
